import Vue from "vue";
import App from "./App.vue";
import store from "./store";
import router from "./router/index";
import axios from "./config/axios";
import cookie from "./config/cookie";
import commen from "./config/commen";
import Vant from "vant";
import "vant/lib/index.css";
import { Lazyload } from "vant";
Vue.use(Lazyload);
// options 为可选参数，无则不传
// Vue.use(Lazyload);
Vue.prototype.$cookie = cookie;
Vue.prototype.$http = axios;
Vue.prototype.commen = commen;
Vue.config.productionTip = false;
Vue.use(Vant);

var vue = new Vue({
  store,
  router,
  render: (h) => h(App),
}).$mount("#app");

export default vue;
